AM_CPPFLAGS = $(SLGLADE_CFLAGS) \
	      -DSLGLADE_SLFUNCS_FILE=\"$(SLPKGDIR)/glade_funcs.sl\" -I$(SLANG_INC)

## Specify installation dir for S-Lang modules
slmoddir = $(libdir)/slang/modules

slmod_LTLIBRARIES = glade-module.la
glade_module_la_SOURCES = module.c module.h slirptypes.h
glade_module_la_LIBADD  = $(SLGLADE_LIBS) -lslang -lslgtk
glade_module_la_LDFLAGS = -no-undefined -module -avoid-version \
			  -L$(SLANG_LIB) -L$(SLGTK_MOD) \
			  -R $(SLANG_LIB) -R $(SLGTK_MOD)
EXTRA_DIST = intrin_funcs.c slirptypes.c

## Add rules to prevent make from trying to compile intrin_funcs.c and
## slirptypes.c by themselves

init_load_string.c:
	@echo "Nothing to do for $@, which is logically part of module.c"

slirptypes.c:
	@echo "Nothing to do for $@, which is logically part of module.c"

